<template>
    <h2>条件渲染语句</h2>
    <div> 
        <!-- <p v-if="count>0">count大于0</p><br>
        <p v-show="count>0">count大于0</p> -->

        <p v-if="count==0">count等于0</p>
        <p v-else>错误</p>
    </div>
</template>

<script setup lang="ts">
const count=0
</script>